package cn.cosmosx.controller.sys.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "数据库表生成代码请求参数")
@Setter
@Getter
@ToString
public class GeneratorParam {

    @ApiModelProperty(value = "作者", example = "gengzhy")
    private String author;
    @ApiModelProperty(value = "生成代码项目根路径", example = "d:/tmp_code/java/")
    private String projectPath;
    @ApiModelProperty(value = "生成代码项目根路径", example = "d:/tmp_code/mapper/")
    private String mapperXmlPath;
    @ApiModelProperty(value = "代码包根路径", example = "cn.cosmosx")
    private String parentPkg;
    @ApiModelProperty(value = "代码模块名称", example = "user", notes = "没有可不填")
    private String moduleName;
    @ApiModelProperty(value = "需生成代码的数据库表", example = "all", notes = "若多张表，以“,”分隔;若全部，传“all”")
    private String tables;
    @ApiModelProperty(value = "实体父类名称（包全路径）", example = "cn.cosmosx.base.define.BaseLogicEntity")
    private String superEntityName;
}
